package com.rd.sys.service.analysis.event;

import com.rd.sys.dto.client.store.EventModel;

import java.util.List;

/**
 * <br/>
 *
 * @author admin
 * @title 》EventService
 * @data 2019-12-30 13:21
 * @since 1.0.1
 */
public interface EventService {

    /**
     * 根据条件查询事件数据结果
     *
     * @param userCode
     * @param projectCode
     * @param schemeCode
     * @return java.util.List<com.rd.sys.dto.client.store.EventModel>
     * @title 》queryEventList
     * @author admin
     * @date 2019-12-30 13:22
     * @since v1.0.1
     **/
    List<EventModel> queryEventList(String userCode, String projectCode, String schemeCode) throws Exception;

    /**
     * 根据条件查询事件数据结果
     *
     * @param userCode
     * @param projectCode
     * @param schemeCode
     * @param resultCode
     * @return java.util.List<com.rd.sys.dto.client.store.EventModel>
     * @title 》queryEventList
     * @author admin
     * @date 2019-12-30 13:22
     * @since v1.0.1
     **/
    List<EventModel> queryEventList(String userCode, String projectCode, String schemeCode, String resultCode);

    /**
     * 加载事件结果集
     *
     * @param key
     * @return java.util.List<com.rd.sys.dto.client.store.EventModel>
     * @title 》readResultList
     * @author admin
     * @date 2019-12-30 13:30
     * @since v1.0.1
     **/
    List<EventModel> readResultList(String key) throws Exception;
}
